use std::ffi::OsString;
use crate::define::*;
use async_trait::async_trait;
use log::info;
use nix::unistd::gethostname;


pub struct Manager {
}
impl Manager {
    pub fn new() -> Self {
        let hostname = gethostname().unwrap();
        let hostname = hostname.into_string().unwrap();
        info!("{}", hostname);

        let one = Self {

        };
        one
    }
}
#[async_trait]
impl OsManager for Manager {



    async fn device_find(&self, vid: Option<u64>, pid: Option<u64>) ->MResult<Vec<Box<dyn Device>>> {
        let out = vec![];
        Ok(out)
    }
}